<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

/**
 * Class OAPositionAuth
 * @package App\Model
 * @desc 职位对应权限
 */
class OAPositionAuth extends Model
{
    protected $table = 'position_auth';

    //职位对应权限一对多
    public function getPositionAuth()
    {
        return $this->hasMany('App\Model\OAAuth','id','auth_id');
    }
}
